//
//  ObserverTest.m
//  Charles
//
//  Created by Leo on 2017/6/14.
//  Copyright © 2017年 charles. All rights reserved.
//

#import "ObserverTest.h"
#import "Weather.h"

@implementation ObserverTest

+ (void)test {
    
    WeatherData *weatherData = [[WeatherData alloc]init];
    
    CurrentConditionsDisplay *currentDisplay = [[CurrentConditionsDisplay alloc]init];
    [currentDisplay setWeatherData:weatherData];
    
    [weatherData setMeasurementsTemp:80 humidity:65 pressure:30.4f];
}

@end
